﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WeaponLibrary;
namespace LogicProgram
{
    public class ProductCalculation
    {
        public double GetTotalPrice(List<Weapon> _weapon,int countWeapon) 
        {
		double totalPrice=0;
        for (int i = 0; i < countWeapon; i++)
            totalPrice += _weapon[i].Cost;
		return totalPrice;
        }

    }
}
